<?php

require_once(APPPATH.'models/component.php');

class pw_summary extends Component
{
    public $id          = 'pw_summary';
    public $title       = 'Abstract for news';
    public $description = 'Show an title and content. Good to iterate news';
    public $keywords    = 'abstract summary';

    public $attributes = array(
        'title'   => array(
            "id"        => 'title',
            "example"   => "This is a title"
        ),
        'content' => array(
            "id"        => 'content',
            "example"   => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pellentesque augue nec felis pulvinar quis imperdiet mauris posuere. Maecenas a velit et urna porttitor viverra. Vivamus neque nunc, hendrerit quis vehicula pulvinar, tincidunt eu mauris. Fusce urna sem, adipiscing vitae interdum eu, lacinia ac elit. Mauris auctor congue nisi, scelerisque mattis felis condimentum ut. Nullam lorem eros, facilisis nec lobortis vel, varius vel felis. Sed lacinia mattis nisi vel condimentum. Curabitur placerat, sem id hendrerit euismod, quam ante lobortis augue, semper congue libero orci at velit. Aenean sed massa non arcu suscipit volutpat in sed orci. Maecenas turpis turpis, gravida tincidunt tempor sed, fermentum quis nunc. Quisque vitae sodales urna."
        )
    );

    public function parseAttributes($post = null)
    {
        return $post;
    }

} // class pw_summary

/* End of file pw_summary.class.php */
/* Location: ./components/pw_summary/pw_summary.class.php */